package com.fy.job.schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Job {
    @Scheduled(fixedRate = 1000)
    public void test(){
      //  System.out.println("测试...");
    }
}
